﻿<?xml version="1.0" encoding="utf-8"?>
<DataTemplates>
  <DataTemplate>
    <DisplayName>RS Shape Template</DisplayName>
    <Description>This is a xaml template you can use to customize the visualization of this relationship shape class. You can copy and paste this template into the Resources.xaml resources dictionary and extend it.</Description>
    <ImageURI>/Tum.PDE.LanguageDSL.Visualization;component/Resources/Images/Templates/shape_handles-link-32.png</ImageURI>
    <SyntaxHighlighting>XML</SyntaxHighlighting>
    <Template>
      <![CDATA[
<Style x:Key="$CustomString0$PathStyle" TargetType="Path">
    <Setter Property="StrokeThickness" Value="1"/>
    <Setter Property="Stroke" Value="Gray"/>
</Style>
<DataTemplate DataType="{x:Type c:$CustomString0$DiagramItemLinkViewModel}">
    <diagrams:DiagramDesignerItemLink StartAnchorStyle="None" EndAnchorStyle="None" PathStyle="{StaticResource $CustomString0$PathStyle}"/>
</DataTemplate>

xmlns:c="clr-namespace:$CustomString1$.ViewModel"
xmlns:diagrams="clr-namespace:Tum.PDE.ToolFramework.Modeling.Visualization.Controls.DiagramSurface;assembly=Tum.PDE.ToolFramework.Modeling.Visualization"
]]>
    </Template>
  </DataTemplate>
  <DataTemplate>
    <DisplayName>RS Shape Class</DisplayName>
    <Description>This is a partial class that is generated for this relationship shape class. You can add a new class in your solution, copy and paste this template and modify properties or methods by overriding them.</Description>
    <ImageURI>/Tum.PDE.LanguageDSL.Visualization;component/Resources/Images/Templates/Class_32-Add.png</ImageURI>
    <SyntaxHighlighting>C#</SyntaxHighlighting>
    <Template>
      <![CDATA[
namespace $CustomString1$.ViewModel
{
  public partial class $CustomString0$DiagramItemLinkViewModel
  {
  }
}
]]>
    </Template>
  </DataTemplate>
  <DataTemplate>
    <DisplayName>RS Shape Text Adorner Template</DisplayName>
    <Description>This is a xaml template provides a text adorner template that is placed in the middle of the path of the relation shape. You can copy and paste this template into the Resources.xaml resources dictionary and extend it.</Description>
    <SyntaxHighlighting>XML</SyntaxHighlighting>
    <Template>
      <![CDATA[
<Style x:Key="$CustomString0$PathStyle" TargetType="Path">
    <Setter Property="StrokeThickness" Value="1"/>
    <Setter Property="Stroke" Value="Gray"/>
</Style>
<DataTemplate DataType="{x:Type c:$CustomString0$DiagramItemLinkViewModel}">
    <diagrams:DiagramDesignerItemLink StartAnchorStyle="None" EndAnchorStyle="None" PathStyle="{StaticResource $CustomString0$PathStyle}">
       <Canvas>
         <TextBlock Text="***Text***" Canvas.Left="{Binding Path=MiddleEdgePoint.X}" Canvas.Top="{Binding Path=MiddleEdgePoint.Y}"/>
      </Canvas>
   </diagrams:DiagramDesignerItemLink>
</DataTemplate>

xmlns:c="clr-namespace:$CustomString1$.ViewModel"
xmlns:diagrams="clr-namespace:Tum.PDE.ToolFramework.Modeling.Visualization.Controls.DiagramSurface;assembly=Tum.PDE.ToolFramework.Modeling.Visualization"
]]>
    </Template>
  </DataTemplate>
</DataTemplates>